package org.fast.project.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author : lilith·bristol
 * @program : spring-web-archetype-default
 * @description : 工程主类
 * SpringBoot 启动主类
 * 设置了EnableAspectJAutoProxy的proxyTargetClass为true 开启cglib代理 保证无接口的类也能获得动态代理支持 以获得spring全局事务等特性
 * @date : 2020-03-28 02:34
 **/
@SpringBootApplication(scanBasePackages = {"org.fast.project"})
@EnableAspectJAutoProxy(proxyTargetClass = true)
public class FastProjectMain {
    public static void main(String[] args) {
        SpringApplication.run(FastProjectMain.class, args);
    }
}
